var HtmlWebpackPlugin = require('html-webpack-plugin');
var OpenBrowserPlugin = require('open-browser-webpack-plugin');
var path = require('path');
module.exports = {
  entry: './src/main.js',
  output: {
    path:path.resolve(__dirname,'dist'),
    filename: 'bundle.js'
  },
plugins: [
    new HtmlWebpackPlugin({
        title: 'My App',
        filename: 'index.html'
    }),
    new OpenBrowserPlugin({
        url: 'http://localhost:8080'
    })
]
};